<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>纯css实现轮播图</title>
    <link rel="stylesheet" href="./my.css">
</head>
<body>
    <div class="carousel_map">
        <div class="slide">
            <!--小圆点-->
            <input type="radio" name="pic" id="pic1" checked/>
            <input type="radio" name="pic" id="pic2"/>
            <input type="radio" name="pic" id="pic3"/>
            <input type="radio" name="pic" id="pic4"/>
            
            <div class="labels">
                <label for="pic1"></label>
                <label for="pic2"></label>
                <label for="pic3"></label>
            </div>
            
            <!--需要轮播的图片-->
            <ul class="list">
                <li class="item">
                    <a href="###">
                        <img src="../../../images/xm/banner-background1.png" style="height: 100%; width: 100%;"/>
                    </a>
                </li>
                <li class="item">
                    <a href="###">
                        <img src="../../../images/xm/banner-background2.png" style="height: 100%; width: 100%;"/>
                    </a>
                </li>
                <li class="item">
                    <a href="###">
                        <img src="../../../images/xm/banner-background3.png" style="height: 100%; width: 100%;"/>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</body>
</html>